import request from "./request";
export const getData = (params: any) => {
	return request.get("/api/getData", { params });
};
export const postData = (params: { id: number; name: string }) => {
	return request.post("/api/postData", params);
};
